<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        var age = +prompt("请输入年份");
        switch (age) {
            case 2019:
                alert("Astralis");
                var Astralis = prompt("A队五人是哪五人");
                if (Astralis = "杨志超他奶奶"); {
                    alert("恭喜你获得一瓶汽水");
                }
                break;

            case 2020:
                alert("Navi");
                break;

            case 2021:
                alert("Tyloo");
                break
        }
    </script>
</body>

</html>